
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		<meta name="description" content="A Stardew Valley crop profits calculator and visualizer." />
		<title>Stardew Profits</title>
		<script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="style/ENstyle.css" />
		<link rel="shortcut icon" type="image/png" href="img/ancientfruit.png">
	</head>
	<body>

		<div class="title">
		</div>

</div>
<script src="js/language.js"> </script>
<div id="languageOptions" style="position: absolute; top: 0; right: 0;">
	<label for="languageSelect">语言</label>
	<select id="languageSelect" onchange="home_changeLanguage()">
		<option value="en" selected="true">English</option>
		<option value="cn">中文</option>
	</select>
	<script>
		language = document.getElementById("languageSelect").value;
	</script>
</div>


		<script src="js/crops.js"> </script>
		<script src="js/data.js"> </script>
		<div class="graph">
			<script src="js/ENmain.js"> </script>
		</div>

		<div class="options">
		<table cellspacing="2">

			<tr>
				<td>Season:</td>
				<td>
					<select id="select_season" onChange="rebuild()">
						<option value="0" id="season_0" selected="true">Spring</option>
						<option value="1" id="season_1">Summer</option>
						<option value="2" id="season_2">Fall</option>
						<option value="3" id="season_3">Winter</option>
						<option value="4" id="season_4">Greenhouse</option>
					</select>
				</td>
			</tr>

            <tr id="cross_season_row">
                <td>Cross-Season:</td>
                <td><input type="checkbox" id="cross_season" onChange="refresh()" /></td>
            </tr>

			<tr id="current_day_row">
				<td>Current Day:</td>
				<td><input type="number" id="current_day" value="1" onChange="refresh()"/></td>
			</tr>

            <tr id="number_days_row">
                <td>Number of Days:</td>
                <td><input type="number" id="number_days" value="28" onChange="refresh()"/></td>
            </tr>

            <tr>
                <td>Number of Crops:</td>
                <td><input type="number" id="number_planted" value="1" onChange="refresh()"/></td>
            </tr>

			<tr>
				<td>Produce Type:</td>
				<td>
					<select id="select_produce" onChange="refresh()">
						<option value="0" selected="true">Raw</option>
						<option value="1">Jar</option>
						<option value="2">Keg</option>
                        <option value="3">Seeds</option>
					</select>
				</td>
			</tr>

            <tr>
                <td colspan="2" class="sub">
                    <table cellspacing="2" class="subt">
                        <tr>
                            <td>Equipment:</td>
                            <td><input type="number" id="equipment" value="0" onChange="refresh()"/></td>
                        </tr>
                        <tr>
                            <td>Non-existent:</td>
                            <td><input type="checkbox" id="check_sellRaw" onChange="refresh()"/> Sell Raw<br /></td>
                        </tr>
                        <tr>
                            <td>Aging:</td>
                            <td >
                                <select id="select_aging" onChange="refresh()">
                                    <option value="0" selected="true">None</option>
                                    <option value="1">Silver</option>
                                    <option value="2">Gold</option>
                                    <option value="3">Iridium</option>
                                </select>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>

		</table>

		<table cellspacing="2">

            <tr>
                <td>Profit Display:</td>
                <td>
                    <select id="select_profit_display" onChange="refresh()">
                        <option value="0" id="display_0" selected="true">Total Profit</option>
                        <option value="1" id="display_1">Daily Profit</option>
                        <option value="2" id="display_2">Total ROI</option>
                        <option value="3" id="display_3">Daily ROI</option>
                    </select>
                </td>
            </tr>

            <tr>
                <td>Max Seed Money:</td>
                <td><input type="number" id="max_seed_money" value="0" onChange="refresh()"/></td>
            </tr>

			<tr>
				<td>Seed Sources:</td>
				<td>
					<input type="checkbox" id="check_seedsPierre" onChange="rebuild()" checked="true" /> <label for="check_seedsPierre">Pierre</label><br />
					<input type="checkbox" id="check_seedsJoja" onChange="rebuild()" checked="true" /> <label for="check_seedsJoja">Joja</label><br />
					<input type="checkbox" id="check_seedsSpecial" onChange="rebuild()" checked="true" /> <label for="check_seedsSpecial">Special</label>
				</td>
			</tr>

			<tr>
				<td>Pay For Seeds:</td>
				<td><input type="checkbox" id="check_buySeed" onChange="refresh()" /></td>
			</tr>

            <tr>
                <td>Process & Replant:</td>
                <td><input type="checkbox" id="check_replant" onChange="refresh()" /> <label for="check_replant">(Forces even crops)</label></td>
            </tr>

            <tr>
                <td>Use Next Year:</td>
                <td><input type="checkbox" id="check_nextyear" onChange="refresh()" /></td>
            </tr>

			<tr>
				<td>Fertilizer:</td>
				<td>
					<select id="select_fertilizer" onChange="refresh()">
						<option value="0" selected="true">None</option>
						<option value="1">Basic Fertilizer</option>
						<option value="2">Quality Fertilizer</option>
						<option value="5">Deluxe Fertilizer</option>
						<option value="3">Speed-Gro</option>
						<option value="4">Deluxe Speed-Gro</option>
						<option value="6">Hyper Speed-Gro</option>
					</select>
				</td>
			</tr>

			<tr>
				<td>Pay For Fertilizer:</td>
				<td><input type="checkbox" id="check_buyFert" onChange="refresh()" /></td>
			</tr>
			<tr id = "deluxe_speed_input">
				<td>Speed-Gro Source:</td>
				<td>
					<select id="speed_gro_source" onChange="refresh()">
						<option value="0" selected="true">Pierre</option>
						<option value="1">Sandy</option>
				</td>
			</tr>
		</table>

		<table cellspacing="2">

			<tr>
				<td>Farming Level:</td>
				<td><input type="number" id="farming_level" value="0" onChange="refresh()"/></td>
			</tr>

			<tr>
				<td colspan="2" class="sub">
                    <table cellspacing="2" class="subt">
                        <tr>
                            <td>Level 5 Skill:</td>
                            <td><input type="checkbox" id="check_skillsTill" onChange="refresh()" /> Tiller<br /></td>
                        </tr>
                        <tr>
                            <td>Level 10 Skill:</td>
                            <td >
                                <select id="select_skills" onChange="refresh()">
                                    <option value="0" selected="true">None</option>
                                    <option value="1">Agriculturist</option>
                                    <option value="2">Artisan</option>
                                </select>
                            </td>
                        </tr>
                    </table>
				</td>
			</tr>

            <tr>
                <td colspan="2" class="sub">
                    <table class="subt">
                    </table>
                </td>
            </tr>

            <tr>
                <td>Foraging Level:</td>
                <td ><input type="number" id="foraging_level" value="0" onChange="refresh()"/></td>
            </tr>

            <tr>
                <td colspan="2" class="sub">
                    <table cellspacing="2" class="subt">
                        <tr>
                            <td>Level 5 skill:</td>
                            <td><input type="checkbox" id="check_skillsGatherer" onChange="refresh()" /> Gatherer<br /></td>
                        </tr>
                        <tr>
                            <td>Level 10 skill:</td>
                            <td><input type="checkbox" id="check_skillsBotanist" onChange="refresh()" /> Botanist<br /></td>
                        </tr>
                    </table>
                </td>
            </tr>

			<tr>
				<td>Farming Food Buff:</td>
				<td>
					<select id="select_food" onChange="refresh()">
						<option value="0" selected="true">None</option>
						<option value="1">Maple Bar</option>
						<option value="1">Hashbrowns</option>
						<option value="2">Complete Breakfast</option>
						<option value="2">Pepper Poppers</option>
						<option value="2">Tom Kha Soup</option>
						<option value="3">Farmer's Lunch</option>
					</select>
				</td>
			</tr>

			<tr>
				<td>Show Extra Info:</td>
				<td><input type="checkbox" id="check_extra" onChange="refresh()" checked="true" /></td>
			</tr>

			<tr>
				<td colspan="3" id="tdhelp"><div id="divhelp"><a href="help(en).html">Help</a><a href="changes(en).html">Changes</a><a href="#" id="reset">Reset</a></div></td>
			</tr>

		</table>
		</div>

		<div class="footer">
			<p><a href="http://stardewvalley.net/" target="_blank">Stardew Valley v1.6.3</a> &copy; <a href="https://twitter.com/ConcernedApe" target="_blank">ConcernedApe</a> | Website designed by <a href="https://twitter.com/thorinair_music" target="_blank">Thorinair</a> | <a href="https://github.com/Thorinair/Stardew-Profits" target="_blank">Stardew Profits v1.6.7</a></p>
		</div>

		<script src="js/time.js"> </script>
	</body>
</html>
